//
// Created by TheMorbidArk on 2022/11/3.
//

#ifndef VANTIDEL_CPP_UNICODEUTF8_H
#define VANTIDEL_CPP_UNICODEUTF8_H

#include <cstdint>
uint32_t getByteNumOfEncodeUtf8(int value);
uint32_t getByteNumOfDecodeUtf8(uint8_t byte);
uint8_t encodeUtf8(uint8_t* buf, int value);
int decodeUtf8(const uint8_t* bytePtr, uint32_t length);

#endif //VANTIDEL_CPP_UNICODEUTF8_H
